import { createApp } from "vue";
import App from "@m/App.vue";
import router from './router'
import { createPinia } from 'pinia'
import '@m/assets/root.css'
import 'vant/lib/index.css';
import '@m/assets/global.css'
import 'vue-cropper/dist/index.css'
import rem from '@m/rem'
// import Tres from '@tresjs/core'

rem(document, window)
const pinia = createPinia()
const app = createApp(App)
app
    // .use(Tres)
    .use(pinia).use(router).mount('#app')